package com.favccxx.search.infrastructure.exception;

public class ExceptionCode {

    public class DataSource {
        public static final int INSERT_DATA_SOURCE_FAILED = 10001;
    }

    public class DataSet {

        public static final int CONNECT_FAILED = 20001;
        public static final int SAVE_DATASET_FAILED = 20002;
        public static final int INVALID_PARAMETER = 20003;

    }

    public class Mapper {
        public static final int MAPPER_NOT_EXIST = 30001;
        public static final int MAPPER_SAVE_FAILED = 30002;

    }


    public class ConceptModel {
        public static final int CONCEPT_MODEL_NOT_EXIST = 50001;
        public static final int CONCEPT_MODEL_SAVE_FAILED = 50002;
        public static final int CONCEPT_MODEL_DELETE_FAILED = 50003;

    }

    public class Search {
        public static final int SEARCH_SQL_EMPTY = 60001;
        public static final int SEARCH_FAILED = 60002;
        public static final int INVALID_SEARCH_PARAM = 60003;
    }

    public class Calcite {
        public static final int CONNECTION_FAILED = 70001;
        public static final int CONCEPT_MODEL_SAVE_FAILED = 50002;
        public static final int CONCEPT_MODEL_DELETE_FAILED = 50003;

    }


}
